Home } Page Details } Highlighted Text



Captures any text that has been highlighted with the cursor. In Internet Explorer, it even grabs text highlighted within a text box or textarea. Sweet!
Highlight any text on the page and JavaScript will 'capture'
it in the textbox below. Internet Explorer also allows for
the capture of text highlighted within a textbox or textarea:
Here's two to try out:

or

Selected text:

JavaScript Source Code 2002: Page Details: Highlighted Text

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!